{\rtf1\ansi\ansicpg1252\cocoartf1343\cocoasubrtf160
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural

\f0\fs24 \cf0 KeyTranslator\
\
This builds on the PS2Keyboard and PS2Protocol.  The PS2 keyboard is mostly translated into USB type values.  16 bit values are used for each key so that other commands/data can be mixed in with the keys.  Unfortunately I did not notice that the break/pause uses more than 3 bytes for the PS2 code and everything else is based on 3 bytes.  Therefore, this key is not translated.\
\
There are several limitations with all these components.  After the next step I will try to work them all out.  The next project is to hook up the actual USB portion of the chip and make a PS2 to USB translator.  Once this is working then I\'92ll fix up all the items that I believe need more work.  For instance, some PS2 commands need to wait for a timeout instead of depending on data.  The delay timer needs a way for multiple clients to use it or at least block its use.  The translation matrix needs to be variable length not fixed at 6 PS2 bytes.   All files will also be converted to only use Harmony.  This is necessary because my end goal is to connect to a usb device through a hub and only the Harmony API has this capability.\
\
After the PS2 to USB connection is done I will also document how to use all these files.  }